﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cg_Zccgsqd.aspx.cs" Inherits="spWeb.Page.CG.cg_Zccgsqd" %>


<%@ Register Src="../../Controls/AssessmentExt.ascx" TagName="AssessmentExt" TagPrefix="uc1" %>
<%@ Register Src="../../Controls/Attachment.ascx" TagName="Attachment" TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><%=TaskAPI.Process %></title>
    <%=LinkCss %>
</head>
<body>
    <form id="form1" runat="server">
        <%=Prefix %>
        <%--  --%>
        <fieldset>
            <legend>基本信息</legend>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>单号：</td>
                    <td colspan="5">
                        <anthem:Label ID="ApplicationNo" runat="server"></anthem:Label></td>
                </tr>
                <tr>
                    <td>填表日期：</td>
                    <td colspan="5">
                        <anthem:Label ID="Time" runat="server"></anthem:Label></td>
                </tr>
                <tr>
                    <td>姓名：</td>
                    <td>
                        <anthem:Label runat="server" ID="UserFullName"></anthem:Label></td>
                    <td></td>
                    <td align="right">部门：</td>
                    <td colspan="2">
                        <anthem:Label runat="server" ID="Department" Visible="false"></anthem:Label>
                        <anthem:Label ID="DepEName" runat="server"></anthem:Label></td>
                </tr>
                <tr>
                    <td style="width: 110px">电话：</td>
                    <td style="width: 150px">
                        <anthem:Label runat="server" ID="Tel"></anthem:Label></td>
                    <td style="width: 110px"></td>
                    <td style="width: 150px"></td>
                    <td style="width: 110px"></td>
                    <td></td>
                </tr>
                <tr>
                    <td style="width: 110px">事项主题：<anthem:Image runat="server" ID="R_Subject" ImageUrl="~/Resource/Images/Icon_Required.gif"
                        Width="14" Height="13" AutoUpdateAfterCallBack="true" />
                    </td>
                    <td colspan="5">
                        <anthem:TextBox runat="server" Width="620px" ID="Subject" Style="border: 1px solid #ccc"></anthem:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>

        <fieldset>
            <legend>详细信息</legend>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="width: 110px">所属单位：<anthem:Image runat="server" ID="R_Csgs" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
                    <td>
                        <anthem:DropDownList ID="GsUnit" Width="157" runat="server" Height="16px" AutoUpdateAfterCallBack="true" 
                        AutoCallBack="true" EnableCallBack="true" OnTextChanged="GsUnit_TextChanged">
                        </anthem:DropDownList>
                    </td>
                    <td style="width: 110px; text-align: right">子公司：<anthem:Image runat="server" ID="R_SONGS" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
                    <td>
                        <anthem:DropDownList ID="SONGS" Width="157" Height="16px" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true">
                        </anthem:DropDownList>
                    </td>

                </tr>
                <tr>
                    <td style="width: 110px">类型：</td>
                    <td colspan="3">
                        <anthem:RadioButtonList ID="CGLX" runat="server" RepeatColumns="4"
                            RepeatDirection="Horizontal">
                            <asp:ListItem >固定资产</asp:ListItem>
                            <asp:ListItem>低值易耗品</asp:ListItem>
                        </anthem:RadioButtonList>
                        &nbsp;
                    </td>
                </tr>

                <tr>
                    <td>申请事由及用途:</td>
                    <td colspan="3">
                        <anthem:TextBox runat="server" ID="SYYT" TextMode="MultiLine" Height="120px" Width="640px"></anthem:TextBox>
                    </td>
                </tr>

            </table>
        </fieldset>
        <anthem:Panel ID="pl_cgjh" runat="server" AutoUpdateAfterCallBack="true">
            <fieldset>
                <legend>采购计划信息</legend>
                <table border="0" width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <anthem:Repeater ID="Details" runat="server" AutoUpdateAfterCallBack="true" OnItemDataBound="Details_ItemDataBound">
                                <HeaderTemplate>
                                    <table width="100%" cellpadding="0" cellspacing="0" class="divTable">
                                        <thead class="Title">
                                            <tr style="background: url(../../Resource/Images/Icon_TableTitle.gif) repeat;">
                                                <td align="center" style="width: 15px; <%=isCssShow %>"></td>
                                                <td align="center" style="width: 60px;">序号</td>
                                                <td align="center" style="width: 180px;">物品名称<anthem:Image runat="server" ID="R_WPMC" ImageUrl="~/Resource/Images/Icon_Required.gif"
                        Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
                                                <td align="center" style="width: 90px;">规格\型号</td>
                                                <td align="center" style="width: 70px;">单位</td>
                                                <td align="center" style="width: 80px">数量<anthem:Image runat="server" ID="R_SL" ImageUrl="~/Resource/Images/Icon_Required.gif"
                        Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
                                                <td align="center" style="width: 70px">单价</td>
                                                <td align="center" style="width: 70px;text-align: right">预计金额</td>
                                            </tr>
                                        </thead>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="Item">
                                        <td align="center" style="<%=isCssShow %>">
                                            <anthem:CheckBox ID="Cb_XZ" runat="server" alt='<%# Eval("No")%>' AutoUpdateAfterCallBack="true" /></td>

                                        <td>
                                            <anthem:TextBox ID="XH" runat="server" Text='<%# Eval("XH")%>' Width="100px" ReadOnly="True" Style="border: 1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                        <td>
                                            <anthem:TextBox ID="WPMC" runat="server" Text='<%# Eval("WPMC")%>' Width="100px" Style="border: 1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                        <td>
                                            <anthem:TextBox ID="GGXH" runat="server" Text='<%# Eval("GGXH")%>' Width="100px" Style="border: 1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                        <td>
                                            <anthem:TextBox ID="DW" runat="server" Text='<%# Eval("DW")%>' Width="70px" Style="border: 1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                        <td>
                                            <anthem:TextBox ID="SL" runat="server" Regular="Integer" Text='<%# Eval("SL")%>' Width="70px" Style="border: 1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                        <td>
                                            <anthem:TextBox ID="DJ" runat="server"  Text='<%# Eval("DJ")%>' Width="70px" Style="border: 1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                        <td>
                                            <anthem:TextBox ID="YJJE" runat="server" Regular="Numeric" Text='<%# Eval("YJJE")%>' Style="border: 1px solid #ccc;text-align: right" AutoUpdateAfterCallBack="true" AutoCallBack="True" OnTextChanged="YJJE_TextChanged"></anthem:TextBox></td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>

                                    <tr>
                                        <td align="center" style="<%=isCssShow %>">
                                        <td colspan="6" style="text-align: right">预计金额合计</td><td style="text-align: left;">
                                                      <anthem:TextBox ID="YJJEEJ" runat="server"  Style="border: 1px solid #ccc;text-align: right" AutoUpdateAfterCallBack="true"></anthem:TextBox>
                                                             </td>
                                    </tr>
                                    </table>
                                </FooterTemplate>
                            </anthem:Repeater>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <anthem:Button ID="detailsAdd" runat="server" AutoUpdateAfterCallBack="true" Text="添加行" EnableCallBack="true" OnClick="AddDelete_Click" Style="background: url('../../Resource/Images/Icon_ButtonBg.gif') 0px -12px; border: 1px solid #FCC245; padding-top: 2px; cursor: pointer; height: 22px; width: 60px; margin-right: 4px; margin-top: 4px; margin-bottom: 4px;" />&nbsp;&nbsp;
                <anthem:Button ID="detailsDel" runat="server" AutoUpdateAfterCallBack="true" Text="删除行" EnableCallBack="true" OnClick="AddDelete_Click" Style="background: url('../../Resource/Images/Icon_ButtonBg.gif') 0px -12px; border: 1px solid #FCC245; padding-top: 2px; cursor: pointer; height: 22px; width: 60px; margin-right: 4px; margin-top: 4px; margin-bottom: 4px;" />
                        </td>
                    </tr>
                </table>

            </fieldset>
        </anthem:Panel>
        <fieldset>
            <legend>附件信息</legend>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="top">附件上传:</td>
                    <td>
                        <div style="width: 500px;">
                            <uc2:Attachment ID="Attachment1" FileClass="附件" runat="server" />
                        </div>
                    </td>
                </tr>
            </table>
        </fieldset>


        <uc1:AssessmentExt ID="AssExt" runat="server" OnSaveAsDraft="SaveAsDraft_Click" OnSend="Send_Click" OnAborted="Aborted_Click" />
        <%=Postfix%>
    </form>
</body>
</html>

